Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 20 - QuickDraw 3D Mathematical Utilities / QuickDraw 3D Mathematical Utilities Reference
QuickDraw 3D Mathematical Utilities / Converting Points from Cartesian to Polar or Spherical Form


Q3PolarPoint_ToPoint2D

You can use the Q3PolarPoint_ToPoint2D function to convert a polar point to Cartesian form.

TQ3Point2D *Q3PolarPoint_ToPoint2D (
const TQ3PolarPoint *polarPoint, 
TQ3Point2D *result);
polarPoint
A polar point.
result
On exit, a two-dimensional point.
DESCRIPTION
The Q3PolarPoint_ToPoint2D function returns, as its function result and in the result parameter, the two-dimensional point that is the same point as the polar point specified by the polarPoint parameter.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996